Returns true if the current user is an instructor on a given SPWeb, false if not.
Parent Type: SlkStore
Namespace: Microsoft.SharePointLearningKit
Assembly: Microsoft.SharePointLearningKit.dll
| C# |
|
public bool IsInstructor ( ) |
spWeb
SPWeb that should be checked.
| Exception type | Condition |
| InvalidOperationException | spWeb is not in the SPSite that this SlkStore is associated with. |
| UnauthorizedAccessException | The user is not a Reader on spWeb. |
Security: Fails if the current user doesn't have SharePoint "Reader" access.